package com.ruoyi.spm.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应关系数据管理对象 spj
 *
 * @author wangxinyu
 * @date 2025-05-23
 */
public class Spj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商名称 */
    private String sno;

    /** 零件名称 */
    private String pno;

    /** 项目工程名称 */
    private String jno;

    /** 零件数量 */
    private Integer qty;

    /** 供应商数据管理信息 */
    private List<Supplier> supplierList;

    public void setSno(String sno)
    {
        this.sno = sno;
    }

    public String getSno()
    {
        return sno;
    }

    public void setPno(String pno)
    {
        this.pno = pno;
    }

    public String getPno()
    {
        return pno;
    }

    public void setJno(String jno)
    {
        this.jno = jno;
    }

    public String getJno()
    {
        return jno;
    }

    public void setQty(Integer qty)
    {
        this.qty = qty;
    }

    public Integer getQty()
    {
        return qty;
    }

    public List<Supplier> getSupplierList()
    {
        return supplierList;
    }

    public void setSupplierList(List<Supplier> supplierList)
    {
        this.supplierList = supplierList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("sno", getSno())
                .append("pno", getPno())
                .append("jno", getJno())
                .append("qty", getQty())
                .append("supplierList", getSupplierList())
                .toString();
    }
}
